package com.hskn.hss.module.tlfacilitietype.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tlequip.entity.TlEquip;
import com.hskn.hss.module.tlfacilities.entity.TlFacilities;
import com.hskn.hss.module.tlfacilitietype.entity.TlFacilitiesType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-12
 */
public interface ITlFacilitiesTypeService extends IService<TlFacilitiesType> {

    AjaxResult insert(TlFacilitiesType tlFacilitiesType) throws HssException;
    AjaxResult deletebatchbyid(TlFacilitiesType tlFacilitiesType) throws HssException;

    AjaxResult update(JSONObject params) throws HssException;

    AjaxResult deletebyid(JSONObject params) throws HssException;

    JSONObject getList(JSONObject params) throws HssException;

    TlFacilitiesType getDetail(JSONObject params) throws HssException;

    List getSelectList(JSONObject params) throws HssException;

    Map<String, Object> getTreeForSheshiAlarm();

    Map<String,TlFacilitiesType> getTlFacilitiesTypeMap(QueryWrapper<TlFacilitiesType> facilitiesTypeQueryWrapper);
}
